let t = require;
let  e = module
let  o =  e.exports;
 o.default =  e.exports;

                'use strict';
                console.log("start");
                var _n107,
                    i =
                    (this && this.__extends) ||
                    ((_n107 = function n(t, e) {
                            return (_n107 =
                                Object.setPrototypeOf ||
                                ({
                                        __proto__: []
                                    }
                                    instanceof Array &&
                                    function(t, e) {
                                        t.__proto__ = e;
                                    }) ||
                                function(t, e) {
                                    for (var o in e) {
                                        Object.prototype.hasOwnProperty.call(e, o) && (t[o] = e[o]);
                                    }
                                })(t, e);
                        }),
                        function(t, e) {
                            function o() {
                                this.constructor = t;
                            }
                            _n107(t, e),
                                (t.prototype =
                                    null === e ?
                                    Object.create(e) :
                                    ((o.prototype = e.prototype), new o()));
                        });
                Object.defineProperty(o, '__esModule', {
                        value: !0
                    }),
                    (o.HitEffect = void 0);
                var r = t('AbsActor'),
                    a = t('SoundMrg'),
                    s = t('PoolMrg'),
                    c = (function(t) {
                        function e(e) {
                            var o = t.call(this) || this;
                            return (
                                a.SoundMrg.playAudio('hit'),
                                (o.poolKey = e),
                                o.loadModel('Prefab/Effect/' + e),
                                o
                            );
                        }
                        return (
                            i(e, t),
                            (e.get = function(t) {
                                return s.PoolMrg.get(t);
                            }),
                            (e.prototype.init = function(t, e) {
                                void 0 === e && (e = 1);
                                var o = t.getHitPoint();
                                o && this.entity ?
                                    ((this.entity.scale = e),
                                        (this.entity.x = o.x),
                                        (this.entity.y = o.y),
                                        (this.entity.zIndex = t.entity.zIndex + 1),
                                        this.playAnim('animation', 1, !0),
                                        t.scene.addEffect(this)) :
                                    this.onAnimLoopCompleteHandler(null);
                            }),
                            (e.prototype.onAnimLoopCompleteHandler = function() {
                                this.isValid &&
                                    (this.scene ?
                                        this.scene.removeEffect(this) :
                                        (this.entity.parent = null),
                                        s.PoolMrg.put(this.poolKey, this));
                            }),
                            e
                        );
                    })(r.AbsActor);
                (o.HitEffect = c), console.log("end");
            module.exports =  e.exports;